package org.jmhome.blog.service;

import javax.persistence.EntityManagerFactory;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.jpa.support.JpaDaoSupport;

public abstract class AbstractJpaDaoService extends JpaDaoSupport {

	@Autowired
	public void initDao(EntityManagerFactory entityManagerFactory){
		setEntityManagerFactory(entityManagerFactory);
	}
}
